function od(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function id(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _a={exports:{}},xl={},Pa={exports:{}},I={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ur=Symbol.for("react.element"),sd=Symbol.for("react.portal"),ad=Symbol.for("react.fragment"),ud=Symbol.for("react.strict_mode"),cd=Symbol.for("react.profiler"),dd=Symbol.for("react.provider"),fd=Symbol.for("react.context"),pd=Symbol.for("react.forward_ref"),md=Symbol.for("react.suspense"),hd=Symbol.for("react.memo"),gd=Symbol.for("react.lazy"),as=Symbol.iterator;function vd(e){return e===null||typeof e!="object"?null:(e=as&&e[as]||e["@@iterator"],typeof e=="function"?e:null)}var Ra={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},za=Object.assign,Aa={};function xn(e,t,n){this.props=e,this.context=t,this.refs=Aa,this.updater=n||Ra}xn.prototype.isReactComponent={};xn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};xn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ta(){}Ta.prototype=xn.prototype;function di(e,t,n){this.props=e,this.context=t,this.refs=Aa,this.updater=n||Ra}var fi=di.prototype=new Ta;fi.constructor=di;za(fi,xn.prototype);fi.isPureReactComponent=!0;var us=Array.isArray,La=Object.prototype.hasOwnProperty,pi={current:null},Ia={key:!0,ref:!0,__self:!0,__source:!0};function Ma(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)La.call(t,r)&&!Ia.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,q=E[O];if(0>>1;Ol(bl,A))Ptl(gr,bl)?(E[O]=gr,E[Pt]=A,O=Pt):(E[O]=bl,E[_t]=A,O=_t);else if(Ptl(gr,A))E[O]=gr,E[Pt]=A,O=Pt;else break e}}return z}function l(E,z){var A=E.sortIndex-z.sortIndex;return A!==0?A:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var a=[],c=[],h=1,m=null,g=3,x=!1,w=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,u=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=E)r(c),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(c)}}function y(E){if(v=!1,p(E),!w)if(n(a)!==null)w=!0,nt(C);else{var z=n(c);z!==null&&Vt(y,z.startTime-E)}}function C(E,z){w=!1,v&&(v=!1,d(P),P=-1),x=!0;var A=g;try{for(p(z),m=n(a);m!==null&&(!(m.expirationTime>z)||E&&!ue());){var O=m.callback;if(typeof O=="function"){m.callback=null,g=m.priorityLevel;var q=O(m.expirationTime<=z);z=e.unstable_now(),typeof q=="function"?m.callback=q:m===n(a)&&r(a),p(z)}else r(a);m=n(a)}if(m!==null)var hr=!0;else{var _t=n(c);_t!==null&&Vt(y,_t.startTime-z),hr=!1}return hr}finally{m=null,g=A,x=!1}}var j=!1,_=null,P=-1,U=5,L=-1;function ue(){return!(e.unstable_now()-LE||125O?(E.sortIndex=A,t(c,E),n(a)===null&&E===n(c)&&(v?(d(P),P=-1):v=!0,Vt(y,A-O))):(E.sortIndex=q,t(a,E),w||x||(w=!0,nt(C))),E},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(E){var z=g;return function(){var A=g;g=z;try{return E.apply(this,arguments)}finally{g=A}}}})($a);Ua.exports=$a;var Rd=Ua.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var zd=R,Ce=Rd;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ho=Object.prototype.hasOwnProperty,Ad=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ds={},fs={};function Td(e){return ho.call(fs,e)?!0:ho.call(ds,e)?!1:Ad.test(e)?fs[e]=!0:(ds[e]=!0,!1)}function Ld(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Id(e,t,n,r){if(t===null||typeof t>"u"||Ld(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function pe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new pe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){le[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var hi=/[\-:]([a-z])/g;function gi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(hi,gi);le[t]=new pe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(hi,gi);le[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(hi,gi);le[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function vi(e,t,n,r){var l=le.hasOwnProperty(t)?le[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var a=` `+l[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=s);break}}}finally{$l=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ln(e):""}function Md(e){switch(e.tag){case 5:return Ln(e.type);case 16:return Ln("Lazy");case 13:return Ln("Suspense");case 19:return Ln("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function xo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gt:return"Fragment";case Ht:return"Portal";case go:return"Profiler";case yi:return"StrictMode";case vo:return"Suspense";case yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wa:return(e.displayName||"Context")+".Consumer";case Va:return(e._context.displayName||"Context")+".Provider";case xi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wi:return t=e.displayName||null,t!==null?t:xo(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return xo(e(t))}catch{}}return null}function Od(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xo(t);case 8:return t===yi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ga(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fd(e){var t=Ga(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xr(e){e._valueTracker||(e._valueTracker=Fd(e))}function Qa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ga(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wo(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ms(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ka(e,t){t=t.checked,t!=null&&vi(e,"checked",t,!1)}function ko(e,t){Ka(e,t);var n=kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?So(e,t.type,n):t.hasOwnProperty("defaultValue")&&So(e,t.type,kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function So(e,t,n){(t!=="number"||Qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var In=Array.isArray;function rn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=wr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bd=["Webkit","ms","Moz","O"];Object.keys(Fn).forEach(function(e){bd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fn[t]=Fn[e]})});function Ja(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}function qa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ja(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Dd=Q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function No(e,t){if(t){if(Dd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function jo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _o=null;function ki(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Po=null,ln=null,on=null;function ys(e){if(e=fr(e)){if(typeof Po!="function")throw Error(k(280));var t=e.stateNode;t&&(t=El(t),Po(e.stateNode,e.type,t))}}function eu(e){ln?on?on.push(e):on=[e]:ln=e}function tu(){if(ln){var e=ln,t=on;if(on=ln=null,ys(e),t)for(e=0;e>>=0,e===0?32:31-(Xd(e)/Zd|0)|0}var kr=64,Sr=4194304;function Mn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=Mn(s):(o&=i,o!==0&&(r=Mn(o)))}else i=n&~l,i!==0?r=Mn(i):o!==0&&(r=Mn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function cr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function tf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Dn),_s=" ",Ps=!1;function ku(e,t){switch(e){case"keyup":return zf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Su(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qt=!1;function Tf(e,t){switch(e){case"compositionend":return Su(t);case"keypress":return t.which!==32?null:(Ps=!0,_s);case"textInput":return e=t.data,e===_s&&Ps?null:e;default:return null}}function Lf(e,t){if(Qt)return e==="compositionend"||!Ri&&ku(e,t)?(e=xu(),Fr=ji=ct=null,Qt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ts(n)}}function ju(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ju(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _u(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qr(e.document)}return t}function zi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Bf(e){var t=_u(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ju(n.ownerDocument.documentElement,n)){if(r!==null&&zi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ls(n,o);var i=Ls(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Kt=null,Io=null,$n=null,Mo=!1;function Is(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mo||Kt==null||Kt!==Qr(r)||(r=Kt,"selectionStart"in r&&zi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$n&&qn($n,r)||($n=r,r=el(Io,"onSelect"),0Zt||(e.current=$o[Zt],$o[Zt]=null,Zt--)}function D(e,t){Zt++,$o[Zt]=e.current,e.current=t}var St={},ae=Et(St),ge=Et(!1),Ot=St;function pn(e,t){var n=e.type.contextTypes;if(!n)return St;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ve(e){return e=e.childContextTypes,e!=null}function nl(){V(ge),V(ae)}function $s(e,t,n){if(ae.current!==St)throw Error(k(168));D(ae,t),D(ge,n)}function Ou(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,Od(e)||"Unknown",l));return Q({},n,r)}function rl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||St,Ot=ae.current,D(ae,e),D(ge,ge.current),!0}function Bs(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Ou(e,t,Ot),r.__reactInternalMemoizedMergedChildContext=e,V(ge),V(ae),D(ae,e)):V(ge),D(ge,n)}var Ge=null,Nl=!1,no=!1;function Fu(e){Ge===null?Ge=[e]:Ge.push(e)}function ep(e){Nl=!0,Fu(e)}function Nt(){if(!no&&Ge!==null){no=!0;var e=0,t=b;try{var n=Ge;for(b=1;e>=i,l-=i,Qe=1<<32-Oe(t)+l|n<P?(U=_,_=null):U=_.sibling;var L=g(d,_,p[P],y);if(L===null){_===null&&(_=U);break}e&&_&&L.alternate===null&&t(d,_),u=o(L,u,P),j===null?C=L:j.sibling=L,j=L,_=U}if(P===p.length)return n(d,_),W&&Rt(d,P),C;if(_===null){for(;PP?(U=_,_=null):U=_.sibling;var ue=g(d,_,L.value,y);if(ue===null){_===null&&(_=U);break}e&&_&&ue.alternate===null&&t(d,_),u=o(ue,u,P),j===null?C=ue:j.sibling=ue,j=ue,_=U}if(L.done)return n(d,_),W&&Rt(d,P),C;if(_===null){for(;!L.done;P++,L=p.next())L=m(d,L.value,y),L!==null&&(u=o(L,u,P),j===null?C=L:j.sibling=L,j=L);return W&&Rt(d,P),C}for(_=r(d,_);!L.done;P++,L=p.next())L=x(_,d,P,L.value,y),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?P:L.key),u=o(L,u,P),j===null?C=L:j.sibling=L,j=L);return e&&_.forEach(function(F){return t(d,F)}),W&&Rt(d,P),C}function S(d,u,p,y){if(typeof p=="object"&&p!==null&&p.type===Gt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yr:e:{for(var C=p.key,j=u;j!==null;){if(j.key===C){if(C=p.type,C===Gt){if(j.tag===7){n(d,j.sibling),u=l(j,p.props.children),u.return=d,d=u;break e}}else if(j.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===it&&Hs(C)===j.type){n(d,j.sibling),u=l(j,p.props),u.ref=Pn(d,j,p),u.return=d,d=u;break e}n(d,j);break}else t(d,j);j=j.sibling}p.type===Gt?(u=Mt(p.props.children,d.mode,y,p.key),u.return=d,d=u):(y=Hr(p.type,p.key,p.props,null,d.mode,y),y.ref=Pn(d,u,p),y.return=d,d=y)}return i(d);case Ht:e:{for(j=p.key;u!==null;){if(u.key===j)if(u.tag===4&&u.stateNode.containerInfo===p.containerInfo&&u.stateNode.implementation===p.implementation){n(d,u.sibling),u=l(u,p.children||[]),u.return=d,d=u;break e}else{n(d,u);break}else t(d,u);u=u.sibling}u=co(p,d.mode,y),u.return=d,d=u}return i(d);case it:return j=p._init,S(d,u,j(p._payload),y)}if(In(p))return w(d,u,p,y);if(Cn(p))return v(d,u,p,y);Rr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,u!==null&&u.tag===6?(n(d,u.sibling),u=l(u,p),u.return=d,d=u):(n(d,u),u=uo(p,d.mode,y),u.return=d,d=u),i(d)):n(d,u)}return S}var hn=$u(!0),Bu=$u(!1),il=Et(null),sl=null,en=null,Ii=null;function Mi(){Ii=en=sl=null}function Oi(e){var t=il.current;V(il),e._currentValue=t}function Wo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function an(e,t){sl=e,Ii=en=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function ze(e){var t=e._currentValue;if(Ii!==e)if(e={context:e,memoizedValue:t,next:null},en===null){if(sl===null)throw Error(k(308));en=e,sl.dependencies={lanes:0,firstContext:e}}else en=en.next=e;return t}var Tt=null;function Fi(e){Tt===null?Tt=[e]:Tt.push(e)}function Vu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Fi(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var st=!1;function bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ye(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,Fi(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function Dr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ci(e,n)}}function Gs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function al(e,t,n,r){var l=e.updateQueue;st=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var a=s,c=a.next;a.next=null,i===null?o=c:i.next=c,i=a;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==i&&(s===null?h.firstBaseUpdate=c:s.next=c,h.lastBaseUpdate=a))}if(o!==null){var m=l.baseState;i=0,h=c=a=null,s=o;do{var g=s.lane,x=s.eventTime;if((r&g)===g){h!==null&&(h=h.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(g=t,x=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){m=w.call(x,m,g);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,g=typeof w=="function"?w.call(x,m,g):w,g==null)break e;m=Q({},m,g);break e;case 2:st=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=l.effects,g===null?l.effects=[s]:g.push(s))}else x={eventTime:x,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(c=h=x,a=m):h=h.next=x,i|=g;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;g=s,s=g.next,g.next=null,l.lastBaseUpdate=g,l.shared.pending=null}}while(!0);if(h===null&&(a=m),l.baseState=a,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Dt|=i,e.lanes=i,e.memoizedState=m}}function Qs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=lo.transition;lo.transition={};try{e(!1),t()}finally{b=n,lo.transition=r}}function sc(){return Ae().memoizedState}function lp(e,t,n){var r=xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ac(e))uc(t,n);else if(n=Vu(e,t,n,r),n!==null){var l=de();Fe(n,e,r,l),cc(n,t,r)}}function op(e,t,n){var r=xt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ac(e))uc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,be(s,i)){var a=t.interleaved;a===null?(l.next=l,Fi(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=Vu(e,t,l,r),n!==null&&(l=de(),Fe(n,e,r,l),cc(n,t,r))}}function ac(e){var t=e.alternate;return e===G||t!==null&&t===G}function uc(e,t){Bn=cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ci(e,n)}}var dl={readContext:ze,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},ip={readContext:ze,useCallback:function(e,t){return Ue().memoizedState=[e,t===void 0?null:t],e},useContext:ze,useEffect:Ys,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$r(4194308,4,nc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $r(4194308,4,e,t)},useInsertionEffect:function(e,t){return $r(4,2,e,t)},useMemo:function(e,t){var n=Ue();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ue();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lp.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Ue();return e={current:e},t.memoizedState=e},useState:Ks,useDebugValue:Gi,useDeferredValue:function(e){return Ue().memoizedState=e},useTransition:function(){var e=Ks(!1),t=e[0];return e=rp.bind(null,e[1]),Ue().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,l=Ue();if(W){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),te===null)throw Error(k(349));bt&30||Ku(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ys(Xu.bind(null,r,o,e),[e]),r.flags|=2048,sr(9,Yu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ue(),t=te.identifierPrefix;if(W){var n=Ke,r=Qe;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[$e]=t,e[nr]=r,wc(e,t,!1,!1),t.stateNode=e;e:{switch(i=jo(n,r),n){case"dialog":B("cancel",e),B("close",e),l=r;break;case"iframe":case"object":case"embed":B("load",e),l=r;break;case"video":case"audio":for(l=0;lyn&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304)}else{if(!r)if(e=ul(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!W)return ie(t),null}else 2*Y()-o.renderingStartTime>yn&&n!==1073741824&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Y(),t.sibling=null,n=H.current,D(H,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Ji(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function mp(e,t){switch(Ti(t),t.tag){case 1:return ve(t.type)&&nl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),V(ge),V(ae),$i(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ui(t),null;case 13:if(V(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(H),null;case 4:return gn(),null;case 10:return Oi(t.type._context),null;case 22:case 23:return Ji(),null;case 24:return null;default:return null}}var Ar=!1,se=!1,hp=typeof WeakSet=="function"?WeakSet:Set,N=null;function tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function qo(e,t,n){try{n()}catch(r){K(e,t,r)}}var ia=!1;function gp(e,t){if(Oo=Jr,e=_u(),zi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,a=-1,c=0,h=0,m=e,g=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(s=i+l),m!==o||r!==0&&m.nodeType!==3||(a=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(x=m.firstChild)!==null;)g=m,m=x;for(;;){if(m===e)break t;if(g===n&&++c===l&&(s=i),g===o&&++h===r&&(a=i),(x=m.nextSibling)!==null)break;m=g,g=m.parentNode}m=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fo={focusedElem:e,selectionRange:n},Jr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,S=w.memoizedState,d=t.stateNode,u=d.getSnapshotBeforeUpdate(t.elementType===t.type?v:Le(t.type,v),S);d.__reactInternalSnapshotBeforeUpdate=u}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){K(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=ia,ia=!1,w}function Vn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&qo(t,n,o)}l=l.next}while(l!==r)}}function Pl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ei(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Cc(e){var t=e.alternate;t!==null&&(e.alternate=null,Cc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$e],delete t[nr],delete t[Uo],delete t[Jf],delete t[qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ec(e){return e.tag===5||e.tag===3||e.tag===4}function sa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ec(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ti(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tl));else if(r!==4&&(e=e.child,e!==null))for(ti(e,t,n),e=e.sibling;e!==null;)ti(e,t,n),e=e.sibling}function ni(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ni(e,t,n),e=e.sibling;e!==null;)ni(e,t,n),e=e.sibling}var ne=null,Ie=!1;function rt(e,t,n){for(n=n.child;n!==null;)Nc(e,t,n),n=n.sibling}function Nc(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(wl,n)}catch{}switch(n.tag){case 5:se||tn(n,t);case 6:var r=ne,l=Ie;ne=null,rt(e,t,n),ne=r,Ie=l,ne!==null&&(Ie?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Ie?(e=ne,n=n.stateNode,e.nodeType===8?to(e.parentNode,n):e.nodeType===1&&to(e,n),Zn(e)):to(ne,n.stateNode));break;case 4:r=ne,l=Ie,ne=n.stateNode.containerInfo,Ie=!0,rt(e,t,n),ne=r,Ie=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&qo(n,t,i),l=l.next}while(l!==r)}rt(e,t,n);break;case 1:if(!se&&(tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){K(n,t,s)}rt(e,t,n);break;case 21:rt(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,rt(e,t,n),se=r):rt(e,t,n);break;default:rt(e,t,n)}}function aa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hp),t.forEach(function(r){var l=Np.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Te(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yp(r/1960))-r,10e?16:e,dt===null)var r=!1;else{if(e=dt,dt=null,ml=0,M&6)throw Error(k(331));var l=M;for(M|=4,N=e.current;N!==null;){var o=N,i=o.child;if(N.flags&16){var s=o.deletions;if(s!==null){for(var a=0;aY()-Xi?It(e,0):Yi|=n),ye(e,t)}function Lc(e,t){t===0&&(e.mode&1?(t=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):t=1);var n=de();e=Je(e,t),e!==null&&(cr(e,t,n),ye(e,n))}function Ep(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lc(e,n)}function Np(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Lc(e,n)}var Ic;Ic=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,fp(e,t,n);he=!!(e.flags&131072)}else he=!1,W&&t.flags&1048576&&bu(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Br(e,t),e=t.pendingProps;var l=pn(t,ae.current);an(t,n),l=Vi(null,t,r,e,l,n);var o=Wi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ve(r)?(o=!0,rl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,bi(t),l.updater=_l,t.stateNode=l,l._reactInternals=t,Go(t,r,e,n),t=Yo(null,t,r,!0,o,n)):(t.tag=0,W&&o&&Ai(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Br(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=_p(r),e=Le(r,e),l){case 0:t=Ko(null,t,r,e,n);break e;case 1:t=ra(null,t,r,e,n);break e;case 11:t=ta(null,t,r,e,n);break e;case 14:t=na(null,t,r,Le(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ko(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),ra(e,t,r,l,n);case 3:e:{if(vc(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Wu(e,t),al(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=vn(Error(k(423)),t),t=la(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(k(424)),t),t=la(e,t,r,n,l);break e}else for(ke=gt(t.stateNode.containerInfo.firstChild),Se=t,W=!0,Me=null,n=Bu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===l){t=qe(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return Hu(t),e===null&&Vo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,bo(r,l)?i=null:o!==null&&bo(r,o)&&(t.flags|=32),gc(e,t),ce(e,t,i,n),t.child;case 6:return e===null&&Vo(t),null;case 13:return yc(e,t,n);case 4:return Di(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),ta(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,D(il,r._currentValue),r._currentValue=i,o!==null)if(be(o.value,i)){if(o.children===l.children&&!ge.current){t=qe(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Ye(-1,n&-n),a.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?a.next=a:(a.next=h.next,h.next=a),c.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Wo(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Wo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,an(t,n),l=ze(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),na(e,t,r,l,n);case 15:return mc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Br(e,t),t.tag=1,ve(r)?(e=!0,rl(t)):e=!1,an(t,n),dc(t,r,l),Go(t,r,l,n),Yo(null,t,r,!0,e,n);case 19:return xc(e,t,n);case 22:return hc(e,t,n)}throw Error(k(156,t.tag))};function Mc(e,t){return au(e,t)}function jp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pe(e,t,n,r){return new jp(e,t,n,r)}function es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _p(e){if(typeof e=="function")return es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xi)return 11;if(e===wi)return 14}return 2}function wt(e,t){var n=e.alternate;return n===null?(n=Pe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")es(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Gt:return Mt(n.children,l,o,t);case yi:i=8,l|=8;break;case go:return e=Pe(12,n,t,l|2),e.elementType=go,e.lanes=o,e;case vo:return e=Pe(13,n,t,l),e.elementType=vo,e.lanes=o,e;case yo:return e=Pe(19,n,t,l),e.elementType=yo,e.lanes=o,e;case Ha:return zl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Va:i=10;break e;case Wa:i=9;break e;case xi:i=11;break e;case wi:i=14;break e;case it:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Pe(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Mt(e,t,n,r){return e=Pe(7,e,r,t),e.lanes=n,e}function zl(e,t,n,r){return e=Pe(22,e,r,t),e.elementType=Ha,e.lanes=n,e.stateNode={isHidden:!1},e}function uo(e,t,n){return e=Pe(6,e,null,t),e.lanes=n,e}function co(e,t,n){return t=Pe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ts(e,t,n,r,l,o,i,s,a){return e=new Pp(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bi(o),e}function Rp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dc)}catch(e){console.error(e)}}Dc(),Da.exports=Ee;var Ip=Da.exports,ga=Ip;mo.createRoot=ga.createRoot,mo.hydrateRoot=ga.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Uc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Op(){return Math.random().toString(36).substr(2,8)}function ya(e,t){return{usr:e.state,key:e.key,idx:t}}function si(e,t,n,r){return n===void 0&&(n=null),vl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ml(t):t,{state:n,key:t&&t.key||r||Op()})}function $c(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ml(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Fp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=ft.Pop,a=null,c=h();c==null&&(c=0,i.replaceState(vl({},i.state,{idx:c}),""));function h(){return(i.state||{idx:null}).idx}function m(){s=ft.Pop;let S=h(),d=S==null?null:S-c;c=S,a&&a({action:s,location:v.location,delta:d})}function g(S,d){s=ft.Push;let u=si(v.location,S,d);c=h()+1;let p=ya(u,c),y=v.createHref(u);try{i.pushState(p,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(y)}o&&a&&a({action:s,location:v.location,delta:1})}function x(S,d){s=ft.Replace;let u=si(v.location,S,d);c=h();let p=ya(u,c),y=v.createHref(u);i.replaceState(p,"",y),o&&a&&a({action:s,location:v.location,delta:0})}function w(S){let d=l.location.origin!=="null"?l.location.origin:l.location.href,u=typeof S=="string"?S:$c(S);return u=u.replace(/ $/,"%20"),xe(d,"No window.location.(origin|href) available to create URL for href: "+u),new URL(u,d)}let v={get action(){return s},get location(){return e(l,i)},listen(S){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(va,m),a=S,()=>{l.removeEventListener(va,m),a=null}},createHref(S){return t(l,S)},createURL:w,encodeLocation(S){let d=w(S);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:g,replace:x,go(S){return i.go(S)}};return v}var xa;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xa||(xa={}));function bp(e,t,n){return n===void 0&&(n="/"),Dp(e,t,n)}function Dp(e,t,n,r){let l=typeof t=="string"?Ml(t):t,o=Wc(l.pathname||"/",n);if(o==null)return null;let i=Bc(e);Up(i);let s=null;for(let a=0;s==null&&a{let a={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};a.relativePath.startsWith("/")&&(xe(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let c=cn([r,a.relativePath]),h=n.concat(a);o.children&&o.children.length>0&&(xe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Bc(o.children,t,h,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:Qp(c,o.index),routesMeta:h})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let a of Vc(o.path))l(o,i,a)}),t}function Vc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=Vc(r.join("/")),s=[];return s.push(...i.map(a=>a===""?o:[o,a].join("/"))),l&&s.push(...i),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function Up(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Kp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $p=/^:[\w-]+$/,Bp=3,Vp=2,Wp=1,Hp=10,Gp=-2,wa=e=>e==="*";function Qp(e,t){let n=e.split("/"),r=n.length;return n.some(wa)&&(r+=Gp),t&&(r+=Vp),n.filter(l=>!wa(l)).reduce((l,o)=>l+($p.test(o)?Bp:o===""?Wp:Hp),r)}function Kp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Yp(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:g,isOptional:x}=h;if(g==="*"){let v=s[m]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=s[m];return x&&!w?c[g]=void 0:c[g]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function Zp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Uc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Jp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Wc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const cn=e=>e.join("/").replace(/\/\/+/g,"/"),qp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function em(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hc=["post","put","patch","delete"];new Set(Hc);const tm=["get",...Hc];new Set(tm);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},S,{params:Object.assign({},s,S.params),pathname:cn([a,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?a:cn([a,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),o,n,r);return t&&v?R.createElement(Ol.Provider,{value:{location:yl({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:ft.Pop}},v):v}function sm(){let e=hm(),t=em(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:l},n):null,null)}const am=R.createElement(sm,null);class um extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(Fl.Provider,{value:this.props.routeContext},R.createElement(Qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function cm(e){let{routeContext:t,match:n,children:r}=e,l=R.useContext(nm);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Fl.Provider,{value:t},r)}function dm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=i.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);h>=0||xe(!1),i=i.slice(0,Math.min(i.length,h+1))}let a=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((h,m,g)=>{let x,w=!1,v=null,S=null;n&&(x=s&&m.route.id?s[m.route.id]:void 0,v=m.route.errorElement||am,a&&(c<0&&g===0?(gm("route-fallback"),w=!0,S=null):c===g&&(w=!0,S=m.route.hydrateFallbackElement||null)));let d=t.concat(i.slice(0,g+1)),u=()=>{let p;return x?p=v:w?p=S:m.route.Component?p=R.createElement(m.route.Component,null):m.route.element?p=m.route.element:p=h,R.createElement(cm,{match:m,routeContext:{outlet:h,matches:d,isDataRoute:n!=null},children:p})};return n&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?R.createElement(um,{location:n.location,revalidation:n.revalidation,component:v,error:x,children:u(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):u()},null)}var Kc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Kc||{});function fm(e){let t=R.useContext(rm);return t||xe(!1),t}function pm(e){let t=R.useContext(Fl);return t||xe(!1),t}function mm(e){let t=pm(),n=t.matches[t.matches.length-1];return n.route.id||xe(!1),n.route.id}function hm(){var e;let t=R.useContext(Qc),n=fm(Kc.UseRouteError),r=mm();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const ka={};function gm(e,t,n){ka[e]||(ka[e]=!0)}function vm(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Gr(e){xe(!1)}function ym(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ft.Pop,navigator:o,static:i=!1,future:s}=e;os()&&xe(!1);let a=t.replace(/^\/*/,"/"),c=R.useMemo(()=>({basename:a,navigator:o,static:i,future:yl({v7_relativeSplatPath:!1},s)}),[a,s,o,i]);typeof r=="string"&&(r=Ml(r));let{pathname:h="/",search:m="",hash:g="",state:x=null,key:w="default"}=r,v=R.useMemo(()=>{let S=Wc(h,a);return S==null?null:{location:{pathname:S,search:m,hash:g,state:x,key:w},navigationType:l}},[a,h,m,g,x,w,l]);return v==null?null:R.createElement(Gc.Provider,{value:c},R.createElement(Ol.Provider,{children:n,value:v}))}function xm(e){let{children:t,location:n}=e;return om(ai(t),n)}new Promise(()=>{});function ai(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(r,l)=>{if(!R.isValidElement(r))return;let o=[...t,l];if(r.type===R.Fragment){n.push.apply(n,ai(r.props.children,o));return}r.type!==Gr&&xe(!1),!r.props.index||!r.props.children||xe(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=ai(r.props.children,o)),n.push(i)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */const wm="6";try{window.__reactRouterVersion=wm}catch{}const km="startTransition",Sa=Sd[km];function Sm(e){let{basename:t,children:n,future:r,window:l}=e,o=R.useRef();o.current==null&&(o.current=Mp({window:l,v5Compat:!0}));let i=o.current,[s,a]=R.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},h=R.useCallback(m=>{c&&Sa?Sa(()=>a(m)):a(m)},[a,c]);return R.useLayoutEffect(()=>i.listen(h),[i,h]),R.useEffect(()=>vm(r),[r]),R.createElement(ym,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}var Ca;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ca||(Ca={}));var Ea;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ea||(Ea={}));function Cm(){return f.jsx("section",{className:"bg-white border-b border-gray-100 pt-16 pb-10 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsxs("nav",{className:"mb-6 text-sm font-medium text-text-secondary",children:[f.jsx("a",{href:"/",className:"hover:text-navy transition-colors",children:"Home"}),f.jsx("span",{className:"mx-2 text-gray-300",children:"/"}),f.jsx("a",{href:"/resources",className:"hover:text-navy transition-colors",children:"Resources"}),f.jsx("span",{className:"mx-2 text-gray-300",children:"/"}),f.jsx("span",{className:"text-navy font-semibold",children:"Glossary"})]}),f.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-4 mb-6",children:[f.jsxs("div",{children:[f.jsx("h1",{className:"text-4xl lg:text-5xl font-bold text-navy leading-tight tracking-tight",children:"Glossary"}),f.jsx("p",{className:"text-2xl lg:text-3xl font-arabic font-bold text-gold mt-1 tracking-wide",dir:"rtl",children:"المسرد"})]}),f.jsxs("div",{className:"text-right hidden lg:block",children:[f.jsx("p",{className:"text-base font-semibold text-accent uppercase tracking-widest",children:"Your Preferred Partner in GCC"}),f.jsx("p",{className:"text-sm font-arabic text-text-secondary mt-1",dir:"rtl",children:"شريكك المفضل في منطقة الخليج العربي"})]})]}),f.jsx("div",{className:"lg:hidden mb-4",children:f.jsx("p",{className:"text-sm font-semibold text-accent uppercase tracking-widest",children:"Your Preferred Partner in GCC"})}),f.jsx("div",{className:"w-16 h-0.5 bg-gold mb-6"}),f.jsxs("div",{className:"bg-[#F8FAFE] border border-gray-200 rounded-md p-4 lg:p-5 max-w-4xl",children:[f.jsxs("p",{className:"text-xs lg:text-sm text-text-secondary leading-relaxed",children:[f.jsx("span",{className:"font-semibold text-navy",children:"Almanza Investment Company KSCC"})," is a Kuwaiti Shareholding Company, incorporated in the State of Kuwait in 1998, operating in accordance with Shari'a principles. Licensed by the"," ",f.jsx("span",{className:"font-semibold text-navy",children:"Capital Markets Authority (CMA) of Kuwait"})," ","and regulated by the"," ",f.jsx("span",{className:"font-semibold text-navy",children:"Central Bank of Kuwait (CBK)"})," where applicable, in accordance with the Kuwait Ministry of Commerce and Industry."," ",f.jsx("span",{className:"italic",children:"This glossary is for informational purposes only and does not constitute investment advice."})]}),f.jsx("p",{className:"text-xs font-arabic text-text-muted mt-2 text-right",dir:"rtl",children:"هذا المسرد للأغراض المعلوماتية فقط ولا يُعدّ نصيحة استثمارية."})]})]})})}const Em=[{value:"30+",label:"Terms & Definitions",labelArabic:"مصطلح وتعريف",sub:"And growing"},{value:"$47.2B",label:"Assets Under Management",labelArabic:"الأصول تحت الإدارة",sub:"Total AUM"},{value:"5",label:"Term Categories",labelArabic:"فئات المصطلحات",sub:"Investment · Islamic Finance · Regulatory · Asset Classes · Risk"}];function Nm(){return f.jsx("section",{className:"bg-[#F8FAFE] border-b border-gray-100 py-12 px-6",children:f.jsx("div",{className:"max-w-8xl mx-auto",children:f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-0 divide-y md:divide-y-0 md:divide-x divide-gray-200",children:Em.map((e,t)=>f.jsxs("div",{className:"text-center py-6 md:py-0 px-4 lg:px-10",children:[f.jsx("p",{className:"text-4xl font-bold text-navy tracking-tight",children:e.value}),f.jsx("p",{className:"text-base font-semibold text-text-primary mt-2",children:e.label}),f.jsx("p",{className:"text-sm font-arabic text-text-secondary mt-0.5",dir:"rtl",children:e.labelArabic}),f.jsx("p",{className:"text-xs text-text-muted mt-2 leading-snug",children:e.sub})]},t))})})})}/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Yc=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var _m={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Pm=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:o,iconNode:i,...s},a)=>R.createElement("svg",{ref:a,..._m,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Yc("lucide",l),...s},[...i.map(([c,h])=>R.createElement(c,h)),...Array.isArray(o)?o:[o]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xc=(e,t)=>{const n=R.forwardRef(({className:r,...l},o)=>R.createElement(Pm,{ref:o,iconNode:t,className:Yc(`lucide-${jm(e)}`,r),...l}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Rm=Xc("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zm=Xc("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);function Zc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=Im(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const s=i.split(is);return s[0]===""&&s.length!==1&&s.shift(),Jc(s,t)||Lm(i)},getConflictingClassGroupIds:(i,s)=>{const a=n[i]||[];return s&&r[i]?[...a,...r[i]]:a}}},Jc=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Jc(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const o=e.join(is);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Na=/^\[(.+)\]$/,Lm=e=>{if(Na.test(e)){const t=Na.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Im=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Om(Object.entries(e.classGroups),n).forEach(([o,i])=>{ui(i,r,o,t)}),r},ui=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:ja(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(Mm(l)){ui(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{ui(i,ja(t,o),n,r)})})},ja=(e,t)=>{let n=e;return t.split(is).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Mm=e=>e.isThemeGetter,Om=(e,t)=>t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[n,l]}):e,Fm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}},qc="!",bm=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length,i=s=>{const a=[];let c=0,h=0,m;for(let S=0;Sh?m-h:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:i}):i},Dm=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Um=e=>({cache:Fm(e.cacheSize),parseClassName:bm(e),...Tm(e)}),$m=/\s+/,Bm=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=[],i=e.trim().split($m);let s="";for(let a=i.length-1;a>=0;a-=1){const c=i[a],{modifiers:h,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:x}=n(c);let w=!!x,v=r(w?g.substring(0,x):g);if(!v){if(!w){s=c+(s.length>0?" "+s:s);continue}if(v=r(g),!v){s=c+(s.length>0?" "+s:s);continue}w=!1}const S=Dm(h).join(":"),d=m?S+qc:S,u=d+v;if(o.includes(u))continue;o.push(u);const p=l(v,w);for(let y=0;y0?" "+s:s)}return s};function Vm(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rm(h),e());return n=Um(c),r=n.cache.get,l=n.cache.set,o=s,s(a)}function s(a){const c=r(a);if(c)return c;const h=Bm(a,n);return l(a,h),h}return function(){return o(Vm.apply(null,arguments))}}const $=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},td=/^\[(?:([a-z-]+):)?(.+)\]$/i,Hm=/^\d+\/\d+$/,Gm=new Set(["px","full","screen"]),Qm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Km=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ym=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,We=e=>dn(e)||Gm.has(e)||Hm.test(e),lt=e=>Sn(e,"length",oh),dn=e=>!!e&&!Number.isNaN(Number(e)),fo=e=>Sn(e,"number",dn),An=e=>!!e&&Number.isInteger(Number(e)),Jm=e=>e.endsWith("%")&&dn(e.slice(0,-1)),T=e=>td.test(e),ot=e=>Qm.test(e),qm=new Set(["length","size","percentage"]),eh=e=>Sn(e,qm,nd),th=e=>Sn(e,"position",nd),nh=new Set(["image","url"]),rh=e=>Sn(e,nh,sh),lh=e=>Sn(e,"",ih),Tn=()=>!0,Sn=(e,t,n)=>{const r=td.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},oh=e=>Km.test(e)&&!Ym.test(e),nd=()=>!1,ih=e=>Xm.test(e),sh=e=>Zm.test(e),ah=()=>{const e=$("colors"),t=$("spacing"),n=$("blur"),r=$("brightness"),l=$("borderColor"),o=$("borderRadius"),i=$("borderSpacing"),s=$("borderWidth"),a=$("contrast"),c=$("grayscale"),h=$("hueRotate"),m=$("invert"),g=$("gap"),x=$("gradientColorStops"),w=$("gradientColorStopPositions"),v=$("inset"),S=$("margin"),d=$("opacity"),u=$("padding"),p=$("saturate"),y=$("scale"),C=$("sepia"),j=$("skew"),_=$("space"),P=$("translate"),U=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",T,t],F=()=>[T,t],tt=()=>["",We,lt],jt=()=>["auto",dn,T],mr=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],nt=()=>["solid","dashed","dotted","double","none"],Vt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],z=()=>["","0",T],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[dn,T];return{cacheSize:500,separator:":",theme:{colors:[Tn],spacing:[We,lt],blur:["none","",ot,T],brightness:O(),borderColor:[e],borderRadius:["none","","full",ot,T],borderSpacing:F(),borderWidth:tt(),contrast:O(),grayscale:z(),hueRotate:O(),invert:z(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[Jm,lt],inset:ue(),margin:ue(),opacity:O(),padding:F(),saturate:O(),scale:O(),sepia:z(),skew:O(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[ot]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...mr(),T]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",An,T]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",An,T]}],"grid-cols":[{"grid-cols":[Tn]}],"col-start-end":[{col:["auto",{span:["full",An,T]},T]}],"col-start":[{"col-start":jt()}],"col-end":[{"col-end":jt()}],"grid-rows":[{"grid-rows":[Tn]}],"row-start-end":[{row:["auto",{span:[An,T]},T]}],"row-start":[{"row-start":jt()}],"row-end":[{"row-end":jt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[u]}],px:[{px:[u]}],py:[{py:[u]}],ps:[{ps:[u]}],pe:[{pe:[u]}],pt:[{pt:[u]}],pr:[{pr:[u]}],pb:[{pb:[u]}],pl:[{pl:[u]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",T,t]}],"min-w":[{"min-w":[T,t,"min","max","fit"]}],"max-w":[{"max-w":[T,t,"none","full","min","max","fit","prose",{screen:[ot]},ot]}],h:[{h:[T,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[T,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ot,lt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fo]}],"font-family":[{font:[Tn]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",T]}],"line-clamp":[{"line-clamp":["none",dn,fo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",We,T]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[d]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...nt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",We,lt]}],"underline-offset":[{"underline-offset":["auto",We,T]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[d]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...mr(),th]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eh]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rh]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[d]}],"border-style":[{border:[...nt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[d]}],"divide-style":[{divide:nt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...nt()]}],"outline-offset":[{"outline-offset":[We,T]}],"outline-w":[{outline:[We,lt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:tt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[d]}],"ring-offset-w":[{"ring-offset":[We,lt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ot,lh]}],"shadow-color":[{shadow:[Tn]}],opacity:[{opacity:[d]}],"mix-blend":[{"mix-blend":[...Vt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Vt()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",ot,T]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[p]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[d]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[An,T]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[We,lt,fo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},uh=Wm(ah);function ss(...e){return uh(Am(e))}const ch=["All","Investment","Islamic Finance","Regulatory","Asset Classes","Risk"];function dh({searchQuery:e,onSearchChange:t,activeCategory:n,onCategoryChange:r}){return f.jsx("section",{className:"bg-white border-b border-gray-100 py-10 px-6",children:f.jsxs("div",{className:"max-w-3xl mx-auto",children:[f.jsxs("div",{className:"relative mb-6",children:[f.jsx(zm,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-text-muted pointer-events-none"}),f.jsx("input",{type:"text",value:e,onChange:l=>t(l.target.value),placeholder:"Search glossary… | بحث في المسرد",className:"search-glow w-full pl-12 pr-4 py-3.5 text-base border-2 border-gray-200 rounded-md outline-none transition-all duration-200 font-sans text-text-primary placeholder:text-text-muted bg-white"}),e&&f.jsx("button",{onClick:()=>t(""),className:"absolute right-4 top-1/2 -translate-y-1/2 text-text-muted hover:text-navy transition-colors text-lg leading-none","aria-label":"Clear search",children:"×"})]}),f.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:ch.map(l=>f.jsx("button",{onClick:()=>r(l),className:ss("px-4 py-2 text-sm font-semibold rounded-md border-2 transition-all duration-150 focus:outline-none focus:ring-2 focus:ring-gold/40",n===l?"filter-btn-active border-gold":"border-gray-200 text-text-secondary bg-white hover:border-gold hover:text-navy"),children:l},l))})]})})}const ci=[{id:"aum",term:"AUM (Assets Under Management)",termArabic:"الأصول تحت الإدارة",definition:"Total market value of investments managed by Almanza on behalf of clients. Almanza currently manages $47.2 billion across diversified GCC portfolios.",category:"Investment"},{id:"irr",term:"IRR (Internal Rate of Return)",termArabic:"معدل العائد الداخلي",definition:"A metric used to estimate the profitability of potential investments. The discount rate that makes the net present value of all cash flows equal to zero.",category:"Investment"},{id:"roe",term:"ROE (Return on Equity)",termArabic:"العائد على حقوق الملكية",definition:"Net income divided by shareholders' equity; measures how efficiently management uses equity capital to generate profits.",category:"Investment"},{id:"sharpe",term:"Sharpe Ratio",termArabic:"نسبة شارب",definition:"A measure of risk-adjusted return. It is calculated by subtracting the risk-free rate from the portfolio return, then dividing by the standard deviation of returns.",category:"Investment"},{id:"ltv",term:"LTV (Loan-to-Value)",termArabic:"نسبة القرض إلى القيمة",definition:"Ratio of a loan to the appraised value of the asset being purchased. A key metric in real estate and structured finance transactions.",category:"Investment"},{id:"nav",term:"NAV (Net Asset Value)",termArabic:"صافي قيمة الأصول",definition:"The per-unit value of a fund's assets minus its liabilities. NAV is the standard pricing benchmark for investment funds and REITs.",category:"Investment"},{id:"sharia",term:"Shari'a",termArabic:"الشريعة الإسلامية",definition:"Islamic law derived from the Quran and Sunnah, guiding all Almanza investments. All Shari'a-compliant products are reviewed by an independent Shari'a Supervisory Board.",category:"Islamic Finance",featured:!0},{id:"sukuk",term:"Sukuk",termArabic:"الصكوك",definition:"Islamic financial certificates similar to bonds, but asset-backed and Shari'a-compliant. Sukuk represents ownership in tangible assets rather than a debt obligation.",category:"Islamic Finance",featured:!0},{id:"murabaha",term:"Murabaha",termArabic:"المرابحة",definition:"Cost-plus financing where the seller explicitly discloses the cost and profit margin. Commonly used in trade finance and commodity transactions.",category:"Islamic Finance"},{id:"ijara",term:"Ijara",termArabic:"الإجارة",definition:"An Islamic lease agreement where the lessor retains ownership of the asset while the lessee pays rental installments. Equivalent to a conventional operating or finance lease.",category:"Islamic Finance"},{id:"musharaka",term:"Musharaka",termArabic:"المشاركة",definition:"A joint venture or partnership structure for financing where all parties contribute capital and share profits and losses proportionally.",category:"Islamic Finance"},{id:"mudaraba",term:"Mudaraba",termArabic:"المضاربة",definition:"A profit-sharing agreement between a capital provider (Rab al-Mal) and an entrepreneur (Mudarib). Losses are borne solely by the capital provider.",category:"Islamic Finance"},{id:"riba",term:"Riba",termArabic:"الربا",definition:"Interest or usury, strictly prohibited in Islamic finance. All Almanza investment structures are designed to avoid any form of Riba.",category:"Islamic Finance"},{id:"gharar",term:"Gharar",termArabic:"الغرر",definition:"Excessive uncertainty or speculation prohibited in Islamic finance. Contracts must have clearly defined terms, consideration, and object of sale.",category:"Islamic Finance"},{id:"waqf",term:"Waqf",termArabic:"الوقف",definition:"A charitable endowment under Islamic law where an asset is dedicated in perpetuity for a religious or charitable purpose, managed by a trustee.",category:"Islamic Finance"},{id:"wasiyya",term:"Wasiyya",termArabic:"الوصية",definition:"An Islamic will or bequest, permitting a Muslim to direct up to one-third of their estate to non-heirs. A key tool in Islamic estate planning.",category:"Islamic Finance"},{id:"cma",term:"CMA (Capital Markets Authority)",termArabic:"هيئة أسواق المال",definition:"The regulatory body overseeing securities and investment activities in Kuwait, established under Law No. 7 of 2010. Almanza operates under full CMA licensure.",category:"Regulatory"},{id:"cbk",term:"CBK (Central Bank of Kuwait)",termArabic:"بنك الكويت المركزي",definition:"The central bank of Kuwait, regulating banking institutions and monetary policy. Investment companies with banking-adjacent activities are subject to CBK oversight.",category:"Regulatory"},{id:"moci",term:"Ministry of Commerce and Industry",termArabic:"وزارة التجارة والصناعة",definition:"The Kuwaiti government body overseeing corporate governance, commercial licenses, and company registration. Almanza is incorporated and registered under its authority.",category:"Regulatory"},{id:"law7",term:"Law No. 7 / 2010",termArabic:"القانون رقم 7 لسنة 2010",definition:"The primary Capital Markets Authority law regulating capital markets in Kuwait, including licensing, disclosure, and investor protection requirements.",category:"Regulatory"},{id:"law20",term:"Law No. 20 / 2014",termArabic:"القانون رقم 20 لسنة 2014",definition:"Kuwait's Law on the Protection of Privacy. Governs the collection, processing, and storage of personal data of clients and investors.",category:"Regulatory"},{id:"kyc",term:"KYC (Know Your Customer)",termArabic:"اعرف عميلك",definition:"Regulatory due diligence process to verify client identity, suitability, and risk profile. Mandatory for all CMA-licensed investment firms in Kuwait.",category:"Regulatory"},{id:"pe",term:"Private Equity",termArabic:"الأسهم الخاصة",definition:"Capital invested directly in private companies not listed on public exchanges. Al Amal's private equity strategy focuses on GCC growth-stage and buyout opportunities.",category:"Asset Classes"},{id:"vc",term:"Venture Capital",termArabic:"رأس المال الاستثماري",definition:"Financing provided to early-stage, high-growth startups in exchange for equity. Almanza Ventures targets technology-enabled businesses across the GCC.",category:"Asset Classes"},{id:"reit",term:"REIT (Real Estate Investment Trust)",termArabic:"صندوق الاستثمار العقاري",definition:"A company that owns and operates income-generating real estate, allowing investors to access real estate returns without direct property ownership.",category:"Asset Classes"},{id:"infra",term:"Infrastructure Investment",termArabic:"الاستثمار في البنية التحتية",definition:"Long-term investment in essential physical assets including energy, transportation, utilities, and telecommunications. A key GCC Principal Investment strategy.",category:"Asset Classes",featured:!0},{id:"hedge",term:"Hedge Fund",termArabic:"صندوق التحوط",definition:"An alternative investment vehicle using pooled funds and diverse strategies including leverage, long/short, and derivatives to generate alpha.",category:"Asset Classes"},{id:"gcc-principal",term:"GCC Principal Investment",termArabic:"الاستثمار الرئيسي في دول الخليج",definition:"Al Amal's strategy of direct balance-sheet investment in key GCC sectors: Utilities, Telecommunications, Technology, and Heavy Industries — aligned with GIC's investment model.",category:"Asset Classes"},{id:"volatility",term:"Volatility",termArabic:"التقلب",definition:"A statistical measure of the dispersion of investment returns, typically expressed as annualised standard deviation. Higher volatility indicates greater uncertainty.",category:"Risk"},{id:"drawdown",term:"Drawdown",termArabic:"الانخفاض عن الذروة",definition:"The peak-to-trough decline in portfolio value during a specific period. Maximum drawdown is a key risk management metric for portfolio oversight.",category:"Risk"},{id:"dd",term:"Due Diligence",termArabic:"العناية الواجبة",definition:"The comprehensive investigation and analysis of a potential investment prior to commitment, covering legal, financial, operational, and ESG dimensions.",category:"Risk"},{id:"coinvest",term:"Co-Investment",termArabic:"الاستثمار المشترك",definition:"When a limited partner or strategic investor invests directly alongside a private equity fund in a specific transaction, typically with reduced fee structures.",category:"Risk"},{id:"carry",term:"Carried Interest",termArabic:"الفائدة المحمولة",definition:"The share of profits paid to investment managers as performance compensation, typically 20% of gains above a predefined hurdle rate.",category:"Risk"},{id:"var",term:"VaR (Value at Risk)",termArabic:"القيمة المعرضة للمخاطر",definition:"A statistical measure quantifying the potential loss in value of a portfolio over a defined period for a given confidence interval (e.g., 95% or 99%).",category:"Risk"}],rd=[{english:"Work & Spread Knowledge",arabic:"العمل ونشر المعرفة",icon:"📚"},{english:"Persevere",arabic:"المثابرة",icon:"🎯"},{english:"Act with Integrity",arabic:"العمل بنزاهة",icon:"⚖️"},{english:"Maintain Ethics",arabic:"الحفاظ على الأخلاق",icon:"🛡️"},{english:"Invest in People",arabic:"الاستثمار في الأشخاص",icon:"🤝"}],fh=[{label:"Net Profit (2025)",labelArabic:"صافي الربح (2025)",value:"$428M",sub:"Financial Year"},{label:"Total Assets Under Management",labelArabic:"إجمالي الأصول تحت الإدارة",value:"$47.2B",sub:"AUM"},{label:"Return on Equity",labelArabic:"العائد على حقوق الملكية",value:"14.2%",sub:"ROE"}],ph=[{title:"Annual Report",titleArabic:"التقرير السنوي",description:"Full performance, governance, and audited financials for the year. CMA-compliant disclosure.",cta:"View Annual Report →",href:"#annual-report"},{title:"Investor Relations",titleArabic:"علاقات المستثمرين",description:"Quarterly financials, CMA regulatory disclosures, shareholder circulars, and analyst coverage.",cta:"Visit IR →",href:"#investor-relations"},{title:"Subsidiary Companies",titleArabic:"الشركات التابعة",description:"Almanza Real Estate, Almanza Ventures, and Almanza Industrial — our operating subsidiaries.",cta:"View Subsidiaries →",href:"#subsidiaries"}],mh=ci.filter(e=>e.featured),ld={Investment:"bg-blue-50 text-accent border border-blue-100","Islamic Finance":"bg-amber-50 text-amber-800 border border-amber-100",Regulatory:"bg-slate-100 text-slate-700 border border-slate-200","Asset Classes":"bg-emerald-50 text-emerald-800 border border-emerald-100",Risk:"bg-rose-50 text-rose-800 border border-rose-100"};function hh(){return f.jsx("section",{className:"bg-[#F8FAFE] border-b border-gray-100 py-12 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-3 mb-8",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-xl font-bold text-navy tracking-tight",children:"Key Financial Metrics"}),f.jsx("p",{className:"text-sm font-arabic text-text-secondary mt-0.5",dir:"rtl",children:"المؤشرات المالية الرئيسية"})]}),f.jsx("p",{className:"text-xs text-text-muted font-medium uppercase tracking-widest",children:"As of Financial Year 2025 · Almanza Investment Company KSCC"})]}),f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:fh.map((e,t)=>f.jsxs("div",{className:"bg-white border border-gray-200 rounded-md p-6 flex flex-col gap-1 glossary-card-hover",children:[f.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-text-muted mb-2",children:e.sub}),f.jsx("p",{className:"text-3xl font-bold text-gold tracking-tight",children:e.value}),f.jsx("p",{className:"text-sm font-semibold text-navy mt-1",children:e.label}),f.jsx("p",{className:"text-xs font-arabic text-text-secondary",dir:"rtl",children:e.labelArabic})]},t))})]})})}function gh({searchQuery:e,activeCategory:t}){const n=ci.filter(r=>{const l=t==="All"||r.category===t,o=e.toLowerCase(),i=!o||r.term.toLowerCase().includes(o)||r.termArabic.includes(o)||r.definition.toLowerCase().includes(o);return l&&i});return f.jsx("section",{className:"bg-white border-b border-gray-100 py-14 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-2 mb-8",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-2xl font-bold text-navy tracking-tight",children:"Glossary Terms"}),f.jsx("p",{className:"text-base font-arabic text-text-secondary mt-0.5",dir:"rtl",children:"مصطلحات المسرد"})]}),f.jsxs("p",{className:"text-sm text-text-muted",children:["Showing ",f.jsx("span",{className:"font-bold text-navy",children:n.length})," of"," ",f.jsx("span",{className:"font-bold text-navy",children:ci.length})," terms"]})]}),n.length===0?f.jsxs("div",{className:"text-center py-16",children:[f.jsx("p",{className:"text-lg text-text-secondary",children:"No terms match your search."}),f.jsx("p",{className:"text-sm font-arabic text-text-muted mt-1",dir:"rtl",children:"لا توجد مصطلحات تطابق بحثك."})]}):f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-5",children:n.map(r=>f.jsxs("div",{className:"glossary-card-hover bg-white border border-gray-200 rounded-md p-5 flex flex-col gap-2",children:[f.jsxs("div",{className:"flex items-start justify-between gap-2",children:[f.jsx("h3",{className:"text-base font-bold text-navy leading-snug flex-1",children:r.term}),f.jsx("span",{className:ss("shrink-0 text-2xs font-semibold uppercase tracking-wider px-2 py-0.5 rounded",ld[r.category]),children:r.category})]}),f.jsx("p",{className:"text-xs font-arabic text-gold font-semibold",dir:"rtl",children:r.termArabic}),f.jsx("div",{className:"w-8 h-px bg-gold/40 my-0.5"}),f.jsx("p",{className:"text-sm text-text-secondary leading-relaxed",children:r.definition})]},r.id))})]})})}function vh(){return f.jsx("section",{className:"bg-[#F8FAFE] border-b border-gray-100 py-14 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-2 mb-8",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-2xl font-bold text-navy tracking-tight",children:"Featured Terms"}),f.jsx("p",{className:"text-base font-arabic text-text-secondary mt-0.5",dir:"rtl",children:"مصطلحات مميزة"})]}),f.jsx("div",{className:"w-16 h-0.5 bg-gold hidden lg:block"})]}),f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:mh.map(e=>f.jsxs("div",{className:"bg-white border-2 border-gold/30 rounded-md p-6 flex flex-col gap-3 glossary-card-hover relative overflow-hidden",children:[f.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-gold to-gold/30"}),f.jsx("div",{className:"flex items-start justify-between gap-2 pt-1",children:f.jsx("h3",{className:"text-lg font-bold text-navy leading-snug flex-1",children:e.term})}),f.jsx("p",{className:"text-sm font-arabic text-gold font-bold",dir:"rtl",children:e.termArabic}),f.jsx("span",{className:ss("self-start text-2xs font-semibold uppercase tracking-wider px-2 py-0.5 rounded",ld[e.category]),children:e.category}),f.jsx("div",{className:"w-8 h-px bg-gold/50 my-0.5"}),f.jsx("p",{className:"text-sm text-text-secondary leading-relaxed",children:e.definition})]},e.id))})]})})}function yh(){return f.jsx("section",{className:"bg-white border-b border-gray-100 py-14 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-2 mb-10",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-2xl font-bold text-navy tracking-tight",children:"Our Core Values"}),f.jsx("p",{className:"text-base font-arabic text-text-secondary mt-0.5",dir:"rtl",children:"قيمنا الأساسية"})]}),f.jsx("p",{className:"text-xs text-text-muted font-medium uppercase tracking-widest",children:"Almanza Investment · Established 1998 · Kuwait"})]}),f.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-4",children:rd.map((e,t)=>f.jsxs("div",{className:"flex flex-col items-center text-center bg-[#F8FAFE] border border-gray-200 rounded-md px-4 py-6 gap-3 glossary-card-hover",children:[f.jsx("div",{className:"w-12 h-12 rounded-full bg-navy flex items-center justify-center text-2xl",children:e.icon}),f.jsx("p",{className:"text-sm font-bold text-navy leading-snug",children:e.english}),f.jsx("div",{className:"w-6 h-px bg-gold"}),f.jsx("p",{className:"text-sm font-arabic text-text-secondary",dir:"rtl",children:e.arabic})]},t))})]})})}function xh(){return f.jsx("section",{className:"bg-[#F8FAFE] border-b border-gray-100 py-14 px-6",children:f.jsxs("div",{className:"max-w-8xl mx-auto",children:[f.jsx("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-2 mb-8",children:f.jsxs("div",{children:[f.jsx("h2",{className:"text-2xl font-bold text-navy tracking-tight",children:"Related Resources"}),f.jsx("p",{className:"text-base font-arabic text-text-secondary mt-0.5",dir:"rtl",children:"موارد ذات صلة"})]})}),f.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:ph.map((e,t)=>f.jsxs("a",{href:e.href,className:"group bg-white border border-gray-200 rounded-md p-6 flex flex-col gap-3 glossary-card-hover focus:outline-none focus:ring-2 focus:ring-gold/40",children:[f.jsxs("div",{children:[f.jsx("h3",{className:"text-base font-bold text-navy group-hover:text-accent transition-colors",children:e.title}),f.jsx("p",{className:"text-sm font-arabic text-text-secondary mt-0.5",dir:"rtl",children:e.titleArabic})]}),f.jsx("div",{className:"w-8 h-px bg-gold/50"}),f.jsx("p",{className:"text-sm text-text-secondary leading-relaxed flex-1",children:e.description}),f.jsxs("span",{className:"inline-flex items-center gap-1.5 text-sm font-semibold text-gold group-hover:gap-2.5 transition-all duration-200 mt-auto",children:[e.cta,f.jsx(Rm,{className:"w-4 h-4"})]})]},t))})]})})}function wh(){return f.jsx("section",{className:"bg-navy py-16 px-6",children:f.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[f.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-gold mb-4",children:"GCC Principal Investment"}),f.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-white leading-tight mb-4",children:"Become a Partner"}),f.jsx("p",{className:"text-lg font-arabic text-white/70 mb-3",dir:"rtl",children:"كن شريكاً لنا"}),f.jsx("div",{className:"w-12 h-0.5 bg-gold mx-auto mb-6"}),f.jsx("p",{className:"text-base text-white/75 leading-relaxed mb-8 max-w-xl mx-auto",children:"Almanza invests in a diversified portfolio of GCC stocks, Sukuk, and principal investments across Utilities, Telecom, Technology, and Heavy Industries. Speak with our team to explore opportunities."}),f.jsx("a",{href:"/contact/schedule-consultation",className:"inline-flex items-center gap-2 bg-gold hover:bg-gold-light text-navy font-bold px-8 py-4 rounded-md text-base transition-all duration-200 hover:shadow-lg focus:outline-none focus:ring-2 focus:ring-gold/50 focus:ring-offset-2 focus:ring-offset-navy min-h-[44px]",children:"Schedule a Consultation →"}),f.jsx("p",{className:"text-xs text-white/40 mt-8",children:"Almanza Investment Company KSCC · Licensed by CMA Kuwait · Shari'a-Compliant Operations"})]})})}const kh=["Almanza Real Estate","Almanza Ventures","Almanza Industrial"],Sh=[{label:"Privacy Policy",href:"#"},{label:"Terms of Use",href:"#"},{label:"Cookie Policy",href:"#"},{label:"CMA Disclosures",href:"#"}],Ch=[{label:"LinkedIn",href:"#"},{label:"Twitter / X",href:"#"},{label:"Bloomberg",href:"#"}];function Eh(){return f.jsxs("footer",{className:"bg-navy text-white gold-border-top",children:[f.jsx("div",{className:"max-w-8xl mx-auto px-6 py-12",children:f.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10",children:[f.jsxs("div",{className:"flex flex-col gap-4",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-xl font-bold text-white tracking-tight",children:"Almanza"}),f.jsx("p",{className:"text-xs font-arabic text-gold mt-0.5",dir:"rtl",children:"المانزا للاستثمار"})]}),f.jsxs("p",{className:"text-xs text-white/60 leading-relaxed",children:["Your Preferred Partner in GCC.",f.jsx("br",{}),"Kuwaiti Shareholding Company — Est. 1998."]}),f.jsx("p",{className:"text-xs font-arabic text-white/50 leading-relaxed",dir:"rtl",children:"شريكك المفضل في منطقة الخليج العربي."}),f.jsx("div",{className:"flex gap-3 mt-1",children:Ch.map(e=>f.jsx("a",{href:e.href,className:"text-xs text-white/50 hover:text-gold transition-colors underline underline-offset-2",children:e.label},e.label))})]}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-gold mb-4",children:"Core Values"}),f.jsx("p",{className:"text-xs font-arabic text-white/50 mb-4",dir:"rtl",children:"القيم الأساسية"}),f.jsx("ul",{className:"flex flex-col gap-2.5",children:rd.map((e,t)=>f.jsxs("li",{className:"flex flex-col gap-0.5",children:[f.jsx("span",{className:"text-xs text-white/80 font-medium",children:e.english}),f.jsx("span",{className:"text-xs font-arabic text-white/40",dir:"rtl",children:e.arabic})]},t))})]}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-gold mb-4",children:"Subsidiaries"}),f.jsx("p",{className:"text-xs font-arabic text-white/50 mb-4",dir:"rtl",children:"الشركات التابعة"}),f.jsx("ul",{className:"flex flex-col gap-3",children:kh.map(e=>f.jsx("li",{children:f.jsx("a",{href:"#",className:"text-xs text-white/70 hover:text-white transition-colors hover:underline",children:e})},e))})]}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-gold mb-4",children:"Legal & Compliance"}),f.jsx("p",{className:"text-xs font-arabic text-white/50 mb-4",dir:"rtl",children:"القانون والامتثال"}),f.jsx("ul",{className:"flex flex-col gap-2.5 mb-6",children:Sh.map(e=>f.jsx("li",{children:f.jsx("a",{href:e.href,className:"text-xs text-white/70 hover:text-white transition-colors hover:underline",children:e.label})},e.label))}),f.jsxs("div",{className:"flex flex-col gap-1.5",children:[f.jsx("p",{className:"text-2xs text-white/40 font-medium uppercase tracking-wider",children:"Regulated by"}),f.jsx("p",{className:"text-xs text-white/60",children:"Capital Markets Authority (CMA) Kuwait"}),f.jsx("p",{className:"text-xs text-white/60",children:"Central Bank of Kuwait (CBK)"}),f.jsx("p",{className:"text-xs text-white/60",children:"Ministry of Commerce and Industry"}),f.jsx("p",{className:"text-xs text-white/50 mt-1 font-medium",children:"Shari'a-Compliant Operations"})]})]})]})}),f.jsx("div",{className:"border-t border-white/10",children:f.jsxs("div",{className:"max-w-8xl mx-auto px-6 py-5 flex flex-col lg:flex-row lg:items-center lg:justify-between gap-3",children:[f.jsxs("p",{className:"text-2xs text-white/40 leading-relaxed max-w-2xl",children:["© ",new Date().getFullYear()," Almanza Investment Company KSCC. All rights reserved. Incorporated in the State of Kuwait. Licensed by the Capital Markets Authority of Kuwait. This glossary is for informational purposes only and does not constitute investment advice or an offer of securities. Law No. 7/2010 · Law No. 20/2014."]}),f.jsx("p",{className:"text-2xs font-arabic text-white/30 lg:text-right",dir:"rtl",children:"جميع الحقوق محفوظة · شركة المانزا للاستثمار ش.م.ك · الكويت 1998"})]})})]})}function po(){const[e,t]=R.useState(""),[n,r]=R.useState("All");return f.jsxs("div",{className:"min-h-screen bg-white font-sans",children:[f.jsx(Cm,{}),f.jsx(Nm,{}),f.jsx(dh,{searchQuery:e,onSearchChange:t,activeCategory:n,onCategoryChange:r}),f.jsx(hh,{}),f.jsx(gh,{searchQuery:e,activeCategory:n}),f.jsx(vh,{}),f.jsx(yh,{}),f.jsx(xh,{}),f.jsx(wh,{}),f.jsx(Eh,{})]})}function Nh(){return f.jsx(Sm,{children:f.jsxs(xm,{children:[f.jsx(Gr,{path:"/",element:f.jsx(po,{})}),f.jsx(Gr,{path:"/resources/glossary",element:f.jsx(po,{})}),f.jsx(Gr,{path:"*",element:f.jsx(po,{})})]})})}mo.createRoot(document.getElementById("root")).render(f.jsx(Fa.StrictMode,{children:f.jsx(Nh,{})}));